<div class="homePage">

    <div style=" background:#FDEDE0;">
        <div class="wrapper">
            <DIV class="Current_nav" style="color:#4aaddf;line-height: 30px;">
                <A href="javascript:void();">首页</A><a> &gt; </a>最新揭晓</DIV>
        </div>
    </div>
    <div style="background:url('<?php echo SHOP_RESOURCE_SITE_URL;?>/images/lyg_066.jpg') center; width:100%; height:88px;">
        <div class="wrapper">
            <DIV style="padding-left: 10px;padding-top:30px;padding-bottom: 8px;margin-right: 2px;margin-left: -2px;" class="publish_Curtit" id="current">
                <H1 class="fl">最新揭晓</H1>
							<SPAN id="spTotalCount">(到目前为止共揭晓商品<EM
                                    class="orange"><?php echo $output['total_records'];?></EM>件)</SPAN>
            </DIV>

        </div>
    </div>
    <div style="background:url('<?php echo SHOP_RESOURCE_SITE_URL;?>/images/lyg_077.jpg') center; width:100%; height:1820px;">


        <LINK href="<?php echo SHOP_RESOURCE_SITE_URL;?>/css/Comm1.css" rel="stylesheet" type="text/css">
        <LINK href="<?php echo SHOP_RESOURCE_SITE_URL;?>/css/register.css" rel="stylesheet" type="text/css">
        <LINK href="<?php echo SHOP_RESOURCE_SITE_URL;?>/css/Lottery.css" rel="stylesheet" type="text/css">

        <!--开奖列表开始-->
        <DIV class="Newpublish">
            <DIV class="NewpublishL">

                <DIV class="publishBor">
                    <DIV class="publishCen" id="listDivTitle">
                        <UL id="ProductList">
                            <?php foreach($output['records'] as $record){  $q_user = unserialize($record['q_user']);?>
                            <LI class="Cursor">
                                <a href="<?php echo urlShop('crowdfunding', 'dataserver',array('id'=>$record['id']));?>" target="_blank" class="fl goodsimg" ><img src="<?php echo UPLOAD_SITE_URL.DS.ATTACH_GOODS.DS. $record['thumb'];?>" /></a>
                                <DIV class="publishC-Member gray02">
                                    <A class="fl headimg" href="<?php echo urlShop('crowdfunding', 'uname',array('id'=>$record['q_uid']));?>" target="_blank">
                                        <IMG width="50" height="50" id="imgUserPhoto" src="<?php echo get_user_avatar($q_user);?>" border="0"> </A>
                                    <P>获得者：
                                        <a rel="nofollow" style="display:inline;" class="blue" href="<?php echo urlShop('crowdfunding', 'uname',array('id'=>$record['q_uid']));?>" target="_blank"><label style="color:#f94856;"><?php echo $q_user['username'];?></a>

                                    </P>
                                    <P>微购：
                                        <EM class="orange Fb">1</EM>人次</P>
                                </DIV>
                                <DIV class="publishC-tit">
                                    <H3><a style="height: 40px;" href="<?php echo urlShop('crowdfunding', 'dataserver',array('id'=>$record['id']));?>" target="_blank">第<?php echo $record['qishu'];?>期 <?php echo $record['title'];?></a></H3>
                                    <P class="money">商品价值：
                                        <SPAN class="rmb"><?php echo $record['money'];?></SPAN>
                                    </P>
                                    <P class="Announced-time gray02">揭晓时间：<?php echo microt($record['q_end_time']);?></P>
                                </DIV>
                                <DIV class="details">
                                    <P class="fl details-Code">幸运微购码：
                                        <EM class="orange Fb"><?php echo $record['q_user_code'];?></EM>
                                    </P>
                                    <A class="fl details-A" href="<?php echo urlShop('crowdfunding', 'dataserver',array('id'=>$record['id']));?>" target="_blank" rel="nofollow">查看详情</A> </DIV>
                            </LI>
                            <?php }?>
                            <?php /*
                            <LI class="Cursor">
                                <A class="fl goodsimg" href="http://100.10.9.6/?/dataserver/156" target="_blank">
                                    <IMG alt="" src="images/1_05.jpg"> </A>

                                <DIV class="publishC-Member gray02">
                                    <A class="fl headimg" href="http://100.10.9.6/?/uname/1000000129" target="_blank">
                                        <IMG width="50" height="50" id="imgUserPhoto" src="images/1_05.jpg" border="0"> </A>
                                    <P>获得者：
                                        <A class="blue Fb" href="http://100.10.9.6/?/uname/1000000129" target="_blank">funking</A>
                                    </P>
                                    <P>微购：
                                        <EM class="orange Fb">0</EM>人次</P>
                                </DIV>
                                <DIV class="publishC-tit">
                                    <H3><A class="gray01" href="http://100.10.9.6/?/dataserver/156" target="_blank">(第3期)欧莱雅（LOREAL）复颜抗皱紧致滋润日霜&nbsp;50ml</A></H3>
                                    <P class="money">商品价值：
                                        <SPAN class="rmb">199.00</SPAN>
                                    </P>
                                    <P class="Announced-time gray02">揭晓时间：2015年01月15日 02:09</P>
                                </DIV>
                                <DIV class="details">
                                    <P class="fl details-Code">幸运微购码：
                                        <EM class="orange Fb">10000038</EM>
                                    </P>
                                    <A class="fl details-A" href="http://100.10.9.6/?/dataserver/156" target="_blank" rel="nofollow">查看详情</A> </DIV>
                            </LI>
                           */?>
                        </UL>
                    </DIV>
                    <DIV class="pagesx" id="Page_Ul">
                        <?php if($output['total_records']>$output['limit']) echo $output['show_page'];?>
                    </DIV>
                </DIV>
            </DIV>

            <DIV style="margin-top:10px;" class="NewpublishR">
                <DIV class="Newpublishbor">
                    <DIV class="Rtitle gray01">TA们正在微购 </DIV>
                    <DIV class="Rcenter buylistH">
                        <UL id="buyList" style="margin-top: 0px;">
                            <?php if(!empty($output['crowds_list'])){ foreach($output['crowds_list'] as $gorecord){?>
                            <LI>
                                <A class="pic" href="<?php echo urlShop('crowdfunding', 'uname',array('id'=>$gorecord['q_uid']));?>" target="_blank">
                                    <IMG width="50" height="50" src="<?php echo (empty($gorecord['uphoto'])) ? UPLOAD_SITE_URL.DS.ATTACH_AVATAR.DS."member.jpg":BASE_SITE_URL.DS.$gorecord['uphoto'];?>">
                                </A>
                                <P class="Rtagou">
                                    <A class="blue" href="<?php echo urlShop('crowdfunding', 'uname',array('id'=>$gorecord['q_uid']));?>" target="_blank"><?php echo $gorecord['username'];?></A>刚刚微购了</P>
                                <P class="Rintro">
                                    <A class="gray01" href="<?php echo urlShop('crowdfunding','goods',array('id'=>$gorecord['shopid']));?>" target="_blank"><?php echo $gorecord['shopname'];?></A>
                                </P>
                            </LI>
                           <?php }}?>
                        </UL>
                    </DIV>
                </DIV>
                <DIV class="blank10"></DIV>
                <DIV class="Newpublishbor">
                    <DIV class="Rtitle gray01">人气排行 </DIV>
                    <DIV class="Rcenter RcenterPH">
                        <UL class="RcenterH" id="RcenterH">
                          <?php if(!empty($output['ren_qirecommends'])){ foreach($output['ren_qirecommends'] as $shop){?>
                            <LI>
                                <DIV name="simpleinfo">
											<SPAN class="pic"><A href="<?php echo urlShop('crowdfunding', 'goods',array('id'=>$shop['id']));?>"
                                                                 target="_blank"><IMG src="<?php echo UPLOAD_SITE_URL.DS.ATTACH_GOODS.DS. $shop['thumb'];?>">
                                                </A></SPAN>
                                    <P class="Rintro gray01">
                                        <A href="<?php echo urlShop('crowdfunding', 'goods',array('id'=>$shop['id']));?>" target="_blank"><?php echo $shop['title'];?></A>
                                    </P>
                                    <P>
                                        <I>剩余人次</I>
                                        <EM><?php echo $shop['shenyurenshu'];?></EM>
                                    </P>
                                </DIV>
                            </LI>
                            <?php }}?>
                          <?php /*
                            <LI>
                                <DIV name="simpleinfo">
											<SPAN class="pic"><A href="http://100.10.9.6/?/goods/103"
                                                                 target="_blank"><IMG src="images/1_05.jpg">
                                                </A></SPAN>
                                    <P class="Rintro gray01">
                                        <A href="http://100.10.9.6/?/goods/103" target="_blank">茅台（MOUTAI）飞天茅台酒&nbsp;53度&nbsp;500ml</A>
                                    </P>
                                    <P>
                                        <I>剩余人次</I>
                                        <EM>408</EM>
                                    </P>
                                </DIV>
                            </LI>
                           */?>
                        </UL>
                    </DIV>
                </DIV>
            </DIV>
            <DIV class="clear"></DIV>
        </DIV>

    </div>

    <div style="background:url('<?php echo SHOP_RESOURCE_SITE_URL;?>/images/lyg_088.jpg') center; width:100%; height:60px;"></div>
    <div align="center" style="background-color: #fdede1;padding-bottom:15px;margin-bottom: -30px; ">本活动最终解释权归找金银网所有</div>